package com.atguigu.vod.service;

import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface VodService {

    /**
     * 上传视频到阿里云
     * @param file
     * @return
     */
    String uploadAliyunVideo(MultipartFile file);

    /**
     * 删除阿里云视频
     *
     * @param videoId
     */
    void deleteAliyunVideo(String videoId);

    void deleteBatchAliyunVideo(List<String> videoList);

    String getVideoPlayAuthById(String vodeoId);
}
